package com.lczyfz.istep.modules.openstack.api.neutron.interfaces;

import com.lczyfz.istep.modules.openstack.api.neutron.model.FloatingIp;

import java.util.List;


public interface FloatingIps {
	

	/**
	 * 列举所有的浮动IP
	 * @return
	 */
	public List<FloatingIp> getFloatingIps();
	
	/**
	 * 创造浮动IP
	 * @param floatingip
	 * @return
	 */
	public FloatingIp createFloatingIp(FloatingIp floatingip);
	
	/**
	 * 删除浮动IP地址
	 * @param FloatingIpId
	 */
	public void deleteFloatingIpId(String FloatingIpId);
	
	/**
	 * 获取指定浮动IP的详细信息
	 * @param FloatingIpId
	 * @return
	 */
	public FloatingIp getFloatingIpDetail(String FloatingIpId);
	
	/**
	 * 更新指定浮动IP的信息
	 * @param FloatingIpId
	 * @param floatingIp
	 * @return
	 */
	public FloatingIp updateFloatingIp(String FloatingIpId, FloatingIp floatingIp);
	
}
